package App.Config;

import App.Job.AuthJobImprove;
import App.Job.TaskReminderJobImprove;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * Created by xw on 2019/5/15.
 */

@Component
@PropertySource("classpath:bootstrap.yml")
@ConfigurationProperties(prefix = "project.schedules")
public class ScheduleConifg {


    public boolean getIsactive() {
        return isactive;
    }

    public void setIsactive(boolean isactive) {
        this.isactive = isactive;
    }

    public String getNames() {
        return names;
    }

    public void setNames(String names) {
        this.names = names;
    }

    private boolean isactive = true;
    private String names;

}
